#version 330 core

uniform mat4 model_matrix;
uniform mat4 projection_matrix;

layout(location=0) in vec4 vPos;
layout(location=1) in vec4 vColor;

out vec4 fColor;

void main()
{
    fColor = vColor;
    gl_Position = projection_matrix * (model_matrix * vPos);
}

